package cn.stylefeng.guns.modular.hx.storage.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.hx.storage.entity.HxStoreReturnsRegister;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStorageOffShelfParam;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStoreReturnsRegisterParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStorageOffShelfResult;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStoreReturnsRegisterResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 门店退货登记 服务类
 * </p>
 *
 * @author ZDW
 * @since 2024-09-02
 */
public interface HxStoreReturnsRegisterService extends IService<HxStoreReturnsRegister> {

    /**
     * 新增
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    void add(HxStoreReturnsRegisterParam param);

    /**
     * 删除
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    void delete(HxStoreReturnsRegisterParam param);

    /**
     * 更新
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    void update(HxStoreReturnsRegisterParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    HxStoreReturnsRegisterResult findBySpec(HxStoreReturnsRegisterParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    List<HxStoreReturnsRegisterResult> findListBySpec(HxStoreReturnsRegisterParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author ZDW
     * @Date 2024-09-02
     */
     LayuiPageInfo findPageBySpec(HxStoreReturnsRegisterParam param,String condition,Long operateId);

}
